#ifndef _BITMAP_H_
#define _BITMAP_H_

#include "image.h"

enum BitmapError
{
  BITMAP_ERROR_OK,
  BITMAP_ERROR_FAIL_OPEN_FILE,
  BITMAP_ERROR_WRONG_FILE_TYPE,
  BITMAP_ERROR_WRONG_DATA_TYPE,
};

const char* Bitmap_getErrorString(BitmapError error);

BitmapError Bitmap_load(Image* bitmap, const char* filename);

#endif
